###########################################
##
## Copyright (2021, ) Institute of Software
##     Chinese Academy of Sciences
##      wuheng@otcaix.iscas.ac.cn
##
###########################################

url="https://gitee.com/syswu/yamls/raw/master/frontend"

rm -rf list

for dir in `ls`
do
  if [[ -d $dir ]]
  then
    for name in `ls $(pwd)/$dir | grep json`
    do
      echo "$url/$dir/$name" >> list
    done
  else
    echo "$url/$dir" >> list
  fi 
done 
